import request from '@/utils/request'


export function list(query) {
  return request({
    url: '/system/interfaceLog/list',
    method: 'get',
    params: query
  })
}


export function getInterfaceLog(id) {
  return request({
    url: '/system/interfaceLog/' + id,
    method: 'get'
  })
}


export function addInterfaceLog(data) {
  return request({
    url: '/system/interfaceLog',
    method: 'post',
    data: data
  })
}


export function updateInterfaceLog(data) {
  return request({
    url: '/system/interfaceLog',
    method: 'put',
    data: data
  })
}


export function delInterfaceLog(id) {
  return request({
    url: '/system/interfaceLog/' + id,
    method: 'delete'
  })
}


export function cleanInterfaceLog() {
    return request({
      url: '/system/interfaceLog/clean',
      method: 'delete'
    })
  }


